package domain

type AnnotationAttribute struct {
	Annotation *AnnotationInfo `json:"-"`
	Key        string
	Value      string
}

func NewAnnotationProperty() *AnnotationAttribute {
	return new(AnnotationAttribute)
}

func NewAnnotationPropertyKV(k, v string) *AnnotationAttribute {
	it := new(AnnotationAttribute)
	it.Key = k
	it.Value = v
	return it
}

func (me *AnnotationAttribute) Clone() interface{} {
	it := new(AnnotationAttribute)
	it.Annotation = me.Annotation
	it.Key = me.Key
	it.Value = me.Value
	return it
}
